class AddModuloidToModulos < ActiveRecord::Migration
  def self.up
    add_column :modulos, :modulo_id, :integer
    rename_column :acciones, :modulo_id, :controller_id
  end

  def self.down
    remove_column :modulos, :modulo_id
    rename_column :acciones, :controller_id, :modulo_id
  end
end
